package cn.vehicle.domains.vo.req.sysRole;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

@Data
@Schema(description = "创建角色请求参数")
public class AddRoleReq {

    @Schema(name = "roleCode", description = "角色编码（唯一标识）")
    @NotEmpty(message = "角色编码不能为空")
    private String roleCode;

    @Schema(name = "roleName", description = "角色名称")
    @NotEmpty(message = "角色名称不能为空")
    private String roleName;

    @Schema(name = "status", description = "角色状态（ACTIVE：启用，INACTIVE：停用，DELETED：删除）")
    @NotEmpty(message = "角色状态不能为空")
    private String status = "ACTIVE";
}